import { FormTemplate } from '../../Utils/FormTemp'

const FormAdded = ({ data, ModalEvent, Off }) => {
    ModalEvent.useSubscription(val => { if (val.type === 'offModal') Off() })
    return (
        <FormTemplate columns={data} ModalEvent={ModalEvent} />
    );
};

export default FormAdded;